<#compress>
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en" class="no-js">
<!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
    <meta charset="utf-8"/>
    <title>中南城微信后台管理 - <@block name="title"></@block></title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1" name="viewport"/>
    <meta content="" name="description"/>
    <meta content="" name="author"/>

    <link rel="stylesheet" href="${ctx}/static/admin/css/fonts.css" type="text/css"/>
    <link rel="stylesheet" href="${ctx}/static/scripts/plugins/font-awesome/css/font-awesome.min.css" type="text/css"/>
    <link rel="stylesheet" href="${ctx}/static/scripts/plugins/bootstrap/css/bootstrap.min.css" type="text/css"/>
    <link rel="stylesheet" href="${ctx}/static/scripts/plugins/uniform/css/uniform.default.css" type="text/css"/>

    <link rel="stylesheet" href="${ctx}/static/scripts/plugins/select2/select2.css" type="text/css" />
    <link rel="stylesheet" href="${ctx}/static/scripts/plugins/select2/select2-metronic.css" type="text/css" />

    <link rel="stylesheet" href="${ctx}/static/scripts/plugins/bootstrap-daterangepicker/daterangepicker-bs3.css" type="text/css"/>
    <link rel="stylesheet" href="${ctx}/static/scripts/plugins/data-tables/DT_bootstrap.css"/>
    <link rel="stylesheet" href="${ctx}/static/scripts/plugins/fancybox/jquery.fancybox.css" type="text/css"/>
    <link rel="stylesheet" href="${ctx}/static/scripts/plugins/bootstrap-datetimepicker/css/datetimepicker.css" type="text/css" />

    <@block name="viewcss"></@block>

    <link href="${ctx}/static/admin/css/style-metronic.css" rel="stylesheet" type="text/css"/>
    <link href="${ctx}/static/admin/css/style.css" rel="stylesheet" type="text/css"/>
    <link href="${ctx}/static/admin/css/style-responsive.css" rel="stylesheet" type="text/css"/>
    <link href="${ctx}/static/admin/css/plugins.css" rel="stylesheet" type="text/css"/>
    <link href="${ctx}/static/admin/css/themes/blue.css" rel="stylesheet" type="text/css" id="style_color"/>
    <link href="${ctx}/static/admin/css/custom.css" rel="stylesheet" type="text/css"/>

    <@block name="viewstyles"></@block>
</head>

<body class="page-header-fixed <@block name="page"></@block>">

<div class="header navbar navbar-fixed-top">
    <div class="header-inner">
        <a class="navbar-brand" href="${ctx}/admin/home">
            <img src="${ctx}/static/admin/img/znc_logo.png" alt="logo" class="img-responsive"/>
        </a>
        <a href="javascript:;" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
            <img src="${ctx}/static/admin/img/menu-toggler.png" alt=""/>
        </a>

        <ul class="nav navbar-nav pull-right">

            <li class="dropdown user">

                <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown"
                   data-close-others="true">
                    <img alt="" src="${ctx}/static/admin/img/avatar1_small.jpg"/>
					<span class="username">
                        <@shiro.principal property="nickName" />
                    </span>
                    <i class="fa fa-angle-down"></i>
                </a>
                <ul class="dropdown-menu">
                    <li>
                        <a href="${ctx}/admin/auth/admin/detail">
                            <i class="fa fa-user"></i> 个人资料
                        </a>
                    </li>
                    <li>
                        <a href="${ctx}/admin/auth/admin/uptPasswordPage">
                            <i class="fa fa-key"></i> 修改密码
                        </a>
                    </li>
                    <li>
                        <a href="${ctx}/admin/logout">
                            <i class="fa fa-sign-out"></i> 注销退出
                        </a>
                    </li>
                </ul>
            </li>
        </ul>
    </div>
</div>

<div class="clearfix">
</div>

<div class="page-container">
    <div class="page-sidebar-wrapper">
        <#include 'nav.ftl'>
    </div>
    <div class="page-content-wrapper">
        <div class="page-content">
            <!--[if lt IE 9]>
            <div class="alert alert-block alert-error fade in">
                <button type="button" class="close" data-dismiss="alert"></button>
                <h4 class="alert-heading"><i class="icon-warning-sign"></i> 温馨提示!</h4>

                <p> 本系统不支持 IE 8 及以下版本浏览器。
                    为了获得更好的浏览体验，我们强烈建议您
                    <a href="http://browsehappy.com" target="_blank">升级</a>
                    到最新版本的IE浏览器，或者使用较新版本的 Google Chrome、Firefox、Safari 等。
                    如果您使用的是 IE 9 或以上版本，请关闭“兼容性视图”。</p>
            </div>
            <![endif]-->
            <@block name="viewbody"></@block>
        </div>
    </div>
</div>
<div class="footer">
    <div class="footer-inner">
        &copy; Copyright 2014. All rights reserved by ifoly.
    </div>
    <div class="footer-tools">
		<span class="go-top">
			<i class="fa fa-angle-up"></i>
		</span>
    </div>
</div>
<!--[if lt IE 9]>
<script src="${ctx}/static/scripts/admin/plugins/ie/respond.min.js"></script>
<script src="${ctx}/static/scripts/admin/plugins/ie/excanvas.min.js"></script>
<![endif]-->
<script type="text/javascript">
    var g = {};
    g.ctx = '${ctx}/';
    <@block name="viewparams"></@block>
</script>

<script charset="utf-8" src="${ctx}/static/scripts/adminconfig.js"></script>

<script charset="utf-8" src="${ctx}/static/scripts/handlebars.js"></script>

<script charset="utf-8"
        data-main="admin/<@block name="viewmodule"></@block>"
        src="${ctx}/static/scripts/require.js"></script>

</body>

</html>
</#compress>